import request from "@/utils/request";
import qs from "qs";

export function login(params) {
    return request({
        url: '/user/login',
        method: 'post',
        headers: { 'content-type': 'application/x-www-form-urlencoded' },
        data: qs.stringify(params)
    })
}